.chat {
  .header {
    height: 46px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid #ccc;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    z-index: 99;
    // justify-content: space-between;
  }

  .content {
    padding: 10px;
    padding-bottom: 50px;
    padding-top: 50px;
    .content-left {
      display: flex;
      margin-bottom: 10px;
      .avatar {
        img {
          border-radius: 50%;
          width: 50px;
          height: 50px;
        }
      }
      .content-box {
        margin-left: 10px;
        margin-right: 60px;
        .content-message {
          background: skyblue;
          padding: 12px;
          border-radius: 4px;
          position: relative;
          min-height: 50px;
          &::after {
            content: '';
            display: block;
            width: 0;
            height: 0;
            border-top: 10px solid transparent;
            border-right: 10px solid skyblue;
            border-left: 10px solid transparent;
            border-bottom: 10px solid transparent;
            position: absolute;
            left: -20px;
            top: 15px;
          }
        }
        .img {
          width: 100%;
          border-radius: 10px;
        }
      }
    }

    .content-right {
      display: flex;
      flex-direction: row-reverse;
      margin-bottom: 10px;
      .avatar {
        img {
          border-radius: 50%;
          width: 50px;
          height: 50px;
        }
      }
      .content-box {
        margin-right: 10px;
        margin-left: 60px;
        .content-message {
          background: skyblue;
          padding: 12px;
          border-radius: 4px;
          position: relative;
          min-height: 50px;
          &::after {
            content: '';
            display: block;
            width: 0;
            height: 0;
            border-top: 10px solid transparent;
            border-right: 10px solid transparent;
            border-left: 10px solid skyblue;
            border-bottom: 10px solid transparent;
            position: absolute;
            right: -20px;
            top: 15px;
          }
        }
        .img {
          width: 100%;
          border-radius: 10px;
        }
      }
    }
  }

  .footer {
    display: flex;
    height: 46px;
    border-top: 1px solid #ccc;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    .text {
      flex: 1;
      height: 100%;
      border: 0;
    }
    .send {
    }
  }
}
